package com.hsm3;

import java.util.HashSet;

public class TestStudent {
    public static void main(String[] args) {
        HashSet<Student> hss = new HashSet<>();
        hss.add(new Student(19,"lili"));
        hss.add(new Student(20,"lulu"));
        hss.add(new Student(18,"feifei"));
        hss.add(new Student(20,"lulu"));
        hss.add(new Student(10,"nana"));
        System.out.println(hss.size());
        System.out.println(hss);
    }
}
